﻿using MigSharp;
using System;
using System.Collections.Generic;

namespace CmsDatabaseMigrations.Migrations
{
    [MigrationExport(ModuleName = "Module", Tag = "Updates cms_sp_PageSelectOne, cms_sp_PageAdd and cms_sp_PageSave procedures. Added PageKey")]
    public class UspPageSelectOne201309091413 : BatchMigration
    {
        protected override IEnumerable<string> SpFileNames
        {
            get
            {
                yield return "cms_sp_PageSelectOne201309091413.sql";
                yield return "cms_sp_PageAdd201309091520.sql";
                yield return "cms_sp_PageSave201309091515.sql";
            }
        }

        protected override IEnumerable<Action<IDatabase>> UpActions
        {
            get { return new List<Action<IDatabase>>(); }
        }

        protected override IEnumerable<Action<IDatabase>> DownActions
        {
            get { return new List<Action<IDatabase>>(); }
        }
    }
}